<jsp:useBean id="emp" scope="request" type="com.xiyue.leaspring.vo.Emp"/>
<%@ page import="java.util.*" contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--加入相应的jar才能编译jsp--%>
<%@page isELIgnored="false" %><%--启动EL表达式解析--%>
<html>
<head>
    <title>show_msg</title>
</head>
<%
    request.setCharacterEncoding("UTF-8");
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+
            request.getServerPort()+request.getContextPath()+"/";
%>
<body>
<base href="<%=basePath%>">
    <h3>员工详细信息</h3>
    员工编号：${emp.empno}<br>
    员工姓名：${emp.ename}<br>
    基本工资：${emp.salary}<br>
    雇佣日期：${emp.hiredate}<br>
    员工等级：${emp.level}<br>
    部门编号：${emp.dept.deptno}<br>
    部门名称：${emp.dept.dname}<br>
    部门成立：${emp.dept.createdate}<br>
</body>
</html>
